<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="main.js"></script>
<script language="javascript" src="../script/Calendar.js"></script>
<title></title>
</head>
<body>
<div class="bigbox">
  <div class="bigboxhead tab" style="width:90%">
  <span class="cbox on"><a href="javascript:void(0);">开店/升级支付明细</a></span>
  </div>
  <div class="bigboxbody" style="margin-top:-1px;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="menu">
      <tr height="25">
        <td height="107" colspan="8"  align="left">
        <form action="" method="get">
        	<input name="m" type="hidden" value="micro_shop" />
            <input name="s" type="hidden" value="shop_pay_log.php" />
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td style="border:none">会员</td>
                <td style="border:none">
                	<textarea name="member_id" placeholder="会员ID，支持逗号分隔的多个"><{$smarty.get.member_id}></textarea>
               	</td>
                <td style="border:none">店铺类型</td>
                <td style="border:none">
                	<select name="level">
                		<option value="0" <{if $smarty.get.level==0}>selected<{/if}>>全部</option>
                		<option value="1" <{if $smarty.get.level==1}>selected<{/if}>>首席馆</option>
                		<option value="2" <{if $smarty.get.level==2}>selected<{/if}>>红人馆</option>
                		<option value="3" <{if $smarty.get.level==3}>selected<{/if}>>吃货</option>
                	</select>
                </td>
                
                <td style="border:none">支付方式</td>
                <td style="border:none">
                	<select name="payment_name">
                		<option value="">全部</option>
						<{foreach item=pay_list key=key from=$bank_en_abbr}>
						<option value="<{$key}>" <{if $smarty.get.payment_name==$key}>selected<{/if}>><{$pay_list}></option>
						<{/foreach}>
                	</select>
                </td>
                
                <td style="border:none">
                                    时间
                <script language="javascript">
                    var cdr = new Calendar("cdr");
                    document.write(cdr);
                    cdr.showMoreDay = true;
                    </script>
                </td>
                <td style="border:none"><input onFocus="cdr.show(this);" class="ltext" value="<{$smarty.get.stime}>" name="stime" type="text" id="stime">
                  --
                  <input onFocus="cdr.show(this);" class="rtext" value="<{$smarty.get.etime}>" name="etime" type="text" id="etime">
                </td>
                <td style="border:none"><input name="Submit" type="submit" class="btn" value="搜索"></td>
              </tr>
            </table>
          </form></td>
      </tr>
      <tr class="theader">
        <td width="50" align="left">会员ID</td>
        <td width="150" align="left">店铺名称</td>
        <td width="100" align="left">支付方式</td>
        <td width="100" align="left">金额</td>
        <td align="left">备注</td>
        <td align="left">行为</td>
        <td width="100" align="left">操作人</td>
        <td width="150" align="left">时间</td>
      </tr>
      <{foreach item=list key=key from=$de.list}>
      <tr>
        <td align="left"><{$list.member_id}></td>
        <td align="left"><{$list.shop_name}></td>
        <td align="left"><{$list.payment_name}></td>
        <td align="left"><{$list.price}></td>
        <td align="left"><{$list.text}></td>
        <td align="left"><{$list.behavior}></td>
        <td align="left"><{$list.admin_name}></td>
        <td align="left"><{$list.create_time}></td>
   	   </tr>
		<{foreachelse}>
        <tr><td colspan="8" align="center" >暂无记录</td></tr>
		<{/foreach}>
      <tr>
        <td colspan="8" align="right" >
        	<div class="page"><{$de.page}></div>
        	<br /><div class="fr">共计：<{$de.total_price}>元</div>
        </td>
      </tr>
    </table>
  </div>
</div>
</body>
</html>